dd: use grids and variables