translated perebor2d -> layout2d