compare has been debugged