add history of command