removed multi template code