made cursors pointers for links