tiledataset now stores data in a data[] array