I initialized the set in slightly different way. What is wrong with the validator?