Modified syntax in main.cpp, did not change behavior.