better put these lines under `else` case.