adding the class information