Fixed view reduce function