if statement

changed if statement