cleaned main-1.cpp