minor cleanup
compiling in c++