Implement parsing grid.