documented valid_string changes