Added HistoryManager by Kevsoft