Also, instead of acc, I use `a` if accumulator is an array and `h` if accumulator is a hash.