How does the human mind work? Here's one idea.