adds template to work off of
bugfixes to template file