Verify valid_characters function. It works. I forgot Wn.