made if statement in class