I changed the addPlayer method according to what is required