adding the resin-specific template