first step to create grids for DrNUM
moved methods for debugging