cursor finally working