the cursor and the table