have you ever played with `Array.reduce`?