Limitation of the reduce function

I felt like I was doing something wrong. We are changed the method of storage, and now there is no need for in reduce function. Thank you.