bezier-demo modification