adding kill_cursors and delete