1D example finalized