2d sample