make sure to do a proper for loop