Created an interesting twist of the map function.