expose navigate function to other modules