Add history feature