added template for hostnaming