stop using main.cc