added dumb 1D example