Add show all history function