work on template