add hashmap view, enum-style