Add map syntax during for loop.