replace tiles array with Grid