added to appendix and more writing