deleting unnecessary changes in main.cpp