fixed private variables to match .cpp file