Added history reduce