convert do-prelude to use stencil