Added check for unique players' names.