added history model