appendix update plus some typos and stuff