recreated skills using lambda functions (map, reduce, filter).