working on compilation errors