Revert "Update main.cpp"

This reverts commit 332738dc4018ad374c6f19e1f4105f3438a8f519.
Revert "Revert "Update main.cpp""

This reverts commit a385e1dae9bd27f1e1585e04f2ca24f52b10305d.