Cognitive processes in creativity