There is an else condition in next line, am I missing something ?