use wildcard for hashmap that contains strings instead of actions