list to DCES function initial code complete

Code not tested.