now supports templates per client