refactor + multiple tiles