adding methods for hash map
wrapping up hash