main.cpp file update