saving xpct