I used a template and made changes but having issues