de-dup procedures merging codes, concatenating values