I'm getting used to your `NULL == x ` style, but this comparison is much harder to read than `length > 0`.