creating initial template