what does the appendix do