this is a bad for loop checking something