changing conditional back to strict equality