before moving all addhistory()...