appendix b done
appendix c done
minor fix
appendix d done