moved main.cpp in cross