wrote skeleton for template