-Changed the validation rule for triples