add closed hashmap