Updated example sketch.