dig-server now working with template