getting class info