skeleton code for StatsService