changes in file main.cpp