added xflag