retooled this into a grid example to isolate performance issues