added the navigation controller, working