correct if statement