compilation errors resolved