tweak to cursor example