added the correction in proccess' mapping to map and completed anon func