added tableofcontents and appendix