append to history