Added SketchMachine logic