Revert "Update main.cpp"

This reverts commit 37897369a8238efdcff05769ed496b98e00c1f18.