Fix grid.
Add printing.