got the grid output to work