Improved name generation - prevented duplcate word