array.map, manual map