modified data import for 2d pcoords