Fine tuning template variables