adjusts if statement