Visions and hallucinations and the role of the mind