s/valid_names/valid_name

See next comment for more info