Why the check against 2? Let's document why this is with a comment. I think it's because you are looking for a whole appendix?