add permuation and combination and freq dis