Revert "Update main.cpp"

This reverts commit b968434d0b89159d402e960f2b720443f25686ac.