Associated HashMap with queue