Revert "Update main.cpp"

This reverts commit 64595c5fcd7e26b88265a99f29f5223d9af6a27a.