use enum map instead of hashmap for bookmarks