The Four Functions of the Mind