add Xcheck.cc