Is the else condition here doing anything?