correct if formatting