Revert "Update main.cpp"

This reverts commit a094afa3a2605458a5fdd4b87587d7f285584169.