moved underscores to end of capitalized variable names to avoid conflict with reserved variables in C++