start of main.cpp