couple of extra line deletions in main.cpp