makes extend-cursor example slightly more interesting.