can't get in for loop

you'r not setting c to anything before you test it
generally a bad plan!