Added utils/cds_func