template for roots