added resource name/class