convert class compiles