Added function for getting list of players