refactors Stencils