secondary ranking algorithm (linear) working