Refactored out #map into its own method