add template for family