rank mode debugging