map array passed from map