Modified rank method