Map is working with 2nd input