added existing main.cpp