reimplemented ranking for differential profile