workin on template