adding Hmap.merge