In particular, cognitive psychology, drawing on insights from computer science, redefined mental processes such as problem solving, learning, and memory in terms of information processing, a development that gave a new autonomy and a new respectability to the study of internal mental states.