change to if statement