added the history table