Using basic map function
Weird breaking of code