add 1D problem