implemented initial template