Displays grid correctly