create clearHistory