pass method to navigate action