graham's second merge codes