diff --git a/format/WZLTemplate.cls b/format/WZLTemplate.cls
index 1c1f10d801b63f468b5a2a3948a7b63cbad8d57a..404375c9be391941aa330b4c22b4f5ed122cb04b 100644
--- a/format/WZLTemplate.cls
+++ b/format/WZLTemplate.cls
@@ -179,6 +179,9 @@
 %%----SET UP BIBLIOGRAPHY----
 \input{format/WZLTemplate_files/SET_Bibliography.tex}
 
+%%----SET UP APPENDIX----
+\input{format/WZLTemplate_files/SET_Appendix.tex}
+
 %%----MISCELLANEOUS----
 \input{format/WZLTemplate_files/SET_Miscellaneous.tex}
 
diff --git a/format/WZLTemplate_files/SET_Appendix.tex b/format/WZLTemplate_files/SET_Appendix.tex
new file mode 100644
index 0000000000000000000000000000000000000000..087fcdc084a613fd766ac3ae647e17b307f4596a
--- /dev/null
+++ b/format/WZLTemplate_files/SET_Appendix.tex
@@ -0,0 +1,21 @@
+
+% TODO
+\newcommand{\appendixheadline}{
+    \cleardoublepage
+    \stepcounter{romancounter}
+    \newcommand{\appendixhead}{\Roman{romancounter}\hspace{1em}Appendix}
+    \phantomsection\addcontentsline{toc}{chapter}{\appendixhead}
+    \thispagestyle{plain}
+    % \setcounter{section}{0} % Reset section counter
+    % \setcounter{subsection}{0} % Reset subsection counter
+    % \setcounter{subsubsection}{0} % Reset subsubsection counter
+    {\cftlottitlefont\appendixhead}{\cftafterlottitle}
+    % Redefine section numbering to include the Roman numeral
+    \renewcommand{\thesection}{\Roman{romancounter}.\arabic{section}}
+    % Redefine subsection numbering to include the new section number
+    \renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
+    % Redefine subsubsection numbering accordingly
+    \renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
+    % Redefine figure numbering if needed
+    \renewcommand{\thefigure}{\Roman{romancounter}.\arabic{figure}}
+}
diff --git a/format/WZLTemplate_files/SET_Bibliography.tex b/format/WZLTemplate_files/SET_Bibliography.tex
index 325103cf19e20664e414587524a34749913ca539..bd8de93f164c79a0b2b55e5e77509bc4552e6312 100644
--- a/format/WZLTemplate_files/SET_Bibliography.tex
+++ b/format/WZLTemplate_files/SET_Bibliography.tex
@@ -72,3 +72,18 @@
     \mkbibacro{URL}\addcolon\space
     \href{#1}{\nolinkurl{\thefield{verba}}}
 }
+
+
+% TODO
+\newcommand{\references}{
+    \cleardoublepage
+    \sloppy
+    \stepcounter{romancounter}
+    \newcommand{\listreferencename}{\Roman{romancounter}\hspace{1em}\tmpreferencename}
+    \phantomsection\addcontentsline{toc}{chapter}{\listreferencename}
+    \thispagestyle{plain}
+    {\cftlottitlefont\listreferencename}{\cftafterlottitle}
+    \printbibliography[heading=none,title=\tmpreferencename]
+    % \printbibliography[heading=bibintoc,title=References]
+}
+
diff --git a/format/functions.tex b/format/functions.tex
index 7d6f3792eb3b8200f7daf5308bbfee6e99c6440c..43084238bb670183bfa78235de234357b2390e9d 100644
--- a/format/functions.tex
+++ b/format/functions.tex
@@ -12,8 +12,6 @@
     \setlength{\cftchapnumwidth}{2em}
 }
 
-
-
 %% Start of main text
 \newcommand{\startmain}
 {
@@ -25,40 +23,6 @@
 }
 
 
-% TODO
-\newcommand{\references}{
-    \cleardoublepage
-    \sloppy
-    \stepcounter{romancounter}
-    \newcommand{\listreferencename}{\Roman{romancounter}\hspace{1em}\tmpreferencename}
-    \phantomsection\addcontentsline{toc}{chapter}{\listreferencename}
-    \thispagestyle{plain}
-    {\cftlottitlefont\listreferencename}{\cftafterlottitle}
-    \printbibliography[heading=none,title=\tmpreferencename]
-    % \printbibliography[heading=bibintoc,title=References]
-}
-
-
-% TODO
-\newcommand{\appendixheadline}{
-    \cleardoublepage
-    \stepcounter{romancounter}
-    \newcommand{\appendixhead}{\Roman{romancounter}\hspace{1em}Appendix}
-    \phantomsection\addcontentsline{toc}{chapter}{\appendixhead}
-    \thispagestyle{plain}
-    % \setcounter{section}{0} % Reset section counter
-    % \setcounter{subsection}{0} % Reset subsection counter
-    % \setcounter{subsubsection}{0} % Reset subsubsection counter
-    {\cftlottitlefont\appendixhead}{\cftafterlottitle}
-    % Redefine section numbering to include the Roman numeral
-    \renewcommand{\thesection}{\Roman{romancounter}.\arabic{section}}
-    % Redefine subsection numbering to include the new section number
-    \renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
-    % Redefine subsubsection numbering accordingly
-    \renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
-    % Redefine figure numbering if needed
-    \renewcommand{\thefigure}{\Roman{romancounter}.\arabic{figure}}
-}
 
 % TODO
 \newcommand{\markerbox}[2]{%