test hacks
prepare to implement xmt