require xtscal.inc