abstraction in grid