Creating the Cursor to return.