now working on getting this working with example tiles