This block of code looks suspicious.  Why the `if` statement?