The cognitive revolution came with the introduction of the 'digital computer'. This gave psychologists a metaphor for the operations of the human mind. The cognitive approach reintroduces using experimental methods to study mental processes in psychology. Around the time of the cognitive revolution, Bandura proposed the social learning theory. This approach draws attention to the role of cognitive factors in learning, such as learning through the perception of others.