more working with 2d structure.