add _grid and _solution