code files about ranking