second commit on main.cpp