work in template