changes in templates var