edit if statement