ranking system re-write