notes about lamda function, map, filter and reduce used in combination