change to use cursor