appendix stuff fixed