add 2D demo