Unnested else-if's