in his theory of the mind , locke held that all ideas are but simple elements of experience , but he did distinguish sensation from reflection as sources of experience : sensation , he maintained , provided the material for knowledge of the external world , while reflection provided the material for knowledge of the mind .