commented main.cpp