added template; added cmdParameters