hash-map now works