added template loaders