working on navigation method