added function work for cds path