add 2 functions:generate dnb ,compare.to.example