I made this loop friggin perfectly
566