reduce history