use `else` instead of `continue`