Adding HistoryWindow