checking out code for tile grid