consume template init