fixed the loop
aww yiss