* backward compatibility with python2 since rank_provider works only with python2