added resource id class