fixed some c++ style lines -- David Masterson