536: changed loops, grid dimension, bgcolor