Revert "Update main.cpp"

This reverts commit c47f1cd767d808decac468275baddfb07acf28d2.