You either need a `return` here, or the code below needs to be in an `else` block.