added a couple more compilation errors