exchanged hashmap with key array
benchmark parameters can be injected from outside