Added a wrapper as an alternative way to use the map