A Theory of Adaptation door