patch for stencil example