history appending