Added player stats function