CDC takes advantage of dynamic constitutional diversity to allow variation and selection in response to either internal or external factors to achieve adaptation .