write appendixB