modify if statement