working on the cds parser