main.cpp commented