corrected comparison