grid, dynamic light switch and clipping