Replace Number.map with Fn.map