resource can be templated now