Indent/removed unecessary read/write in reduce