added instance info per class

added instance info per class