prints all class info