about to write some appendix math