fucked up a loop, fixed