added texts on classes and xtypes ch6