Scanning behavior and environmental variation in the formulation of strategic responses to change