renamed variable and modified template file