adding to the name check

adding to the name check