pulls out x,y,z coordinates