learn the class structure.