tweaks to the stencil example