Revert "Update main.cpp"

This reverts commit 46b42204cc2892838624301dccb08f25ffd85471.
Revert "Revert "Update main.cpp""

This reverts commit a5a6157d2ab66cc2e7c597a5cd859d9780ddf7e2.