added an appendix, moved stuff there