initial template setup