added canGoBack function