now compiles with all classes