mergeing and scoring