new hashmap-based data structure.