ENHANCED weighting
FIXED bug where getLargest wasn't included