Add a continue before the else, and then you can do away with the else statement.