2D sample application