resolved compilation errors