added more parameters to template