Got the template to work properly.