Proper if statement