merge codes.