committing hashmap