Cognition in a digital world