typed in code to show a grid