Revert "Update main.cpp"

This reverts commit 357d1cb78b9c96761f265a01e1909cf48994b0de.