It would be neater if you moved this to a final else statement instead.