adding the cursor