Fix parameters for queue: needs to instantiate new HashMap.