xdat to xyz is now functioning properly