Working version of the grid system