got inside the function, testing if r call works
getting the conenction working