a new main.cpp for bkup