simple, working hashmap impl. fixed