map

map is similar with each except that map also deals with results