* adding err out args to template engine methods