added history tracker