started rewriting the appendix