added template decorator, added tepmlate skeleton