Adaptive behavioural cognition.