modify cc resource data structure definition and initialization.