making template skeleton