added history manager