the else if must be in its own line, add a linebreak after the }