work in progress on distribution 1D/2D