refacor cd.
refactor cd.