The role of agility in responding to uncertainty: a cognitive perspective