added a new hash for string comparators