*Renamed rank to weight