added history table