implemented history and more backstack