lightning and bezier curve testing