add class information