able to prompt user for new name if it is a duplicated name