added an option to reset the summary