I tried creating an empty HashMap called "map2" then adding the unduplicated entry sets to it. then converting that HashMap to the original map. When I run it, it does work as intended however, I cannot seem to get that "removeItemFromMapByValue" method to work. I also tried creating a clone to keep track of the for loop but still not working for me. any input would be greatly appreciated..