2d prototype