re-arrangement analyzer