adding class information