Could you explain why we match against badarg here, and not just anything?