Updating info and adding example for isValidName.