work with tiles' templates