added function to retrieve the players' statistics