hash map create function done