adding controlled template