Added a history feature