changed the Map() function to rowMap()