I think this should be within an `else` block. Is that right?