removed unnecessary destructive on map method