template for foundation