negates if to reduce indentation