building on the template