How does this work?. .. Magic? loop how does it work