first release implementation of hashmap