removed set_cursor and accompanying cursor private