add pair, add number system, remove redunent nest