Shouldn't you include the code above in the `else` branch of this if-statement?