refact HistoryDOA