add the grid first for proper layering