learning to use Cursors