added template resource