add the history model