cursor_setup
