Added code to handle same player names