connect data to tiles