sort of made the grid work