Finished 1D case