working on saving tile