Functional methods the work well with Array.map