intermediate template