changed elseif to else