swift/MCDDemo: attempt to implement validation: without success