simplify master sketch