Finalized 2D example