working on values, implemented hmap