added assertion that there were some classes added at all