revisions, TO FIX:cursor not working