use equator for hash map search