added history-limit