adjustments in template file