set the cursor in the example