make rankings dynamic. Can optimize if needed later