attempt to get xtdata and xtcheck right