Use a HashMap to retrieve the offer indices