Revert "Update main.cpp"

This reverts commit d48d638068a0ccd03e568e5243ec57e9c6893aa0.