importing 'map' in process