created second branch, added main2.cpp