add persistent history