added saveAS to XL class