workin on templates