added main.cpp