added dx, dy, dz