made the grid creation prettier