for reference, I'm asking about adding an `else` statement that raises an error at this line