Changes to allow reading XYZT