Changed appendix to make references work better