Changes in rde.py in the branch merge_cds