changed order of References and appendix