derp, need a while loop not if statement