You don't need Array.reduce()