Modified sketch1