added class info method