compilation errors solved