added 2 methods to navigation