assigning classes to inner mc's