added template option