Cognition in context