Instantiate map using hashmap