added a get cursor method