correct if syntax