removed main2.cpp
api change