corrected appendix numbering problem, ready for publishing on grin publishing