This seems redundant with the else clause at the end.