it would be better if use `Array.map()`