Used built-in Map.addAll instead of forEach loop.