add timestamp and add it to the history panel