different signature of the isEqual method