Got the map function working!!!!