Global coalesce by global scores appraoch working