add: ifEqual function has been added.