Time for action – adding a Reduce function to an index