template adjustments