Environmental factors in complex adaptive systems