updated sketch.js