set maxdepth to 2 in the appendix