add option to clear history