added history setting