exchanged hashmap with key array