produce the ped_agent and map method