setting up navigate call