added template bases