Merged RecordStats into RecordHistory and added DeleteHistory to solve BuyDate problem.