actually defined set_cursor