write ZYMain.cc