changed template to resource