added new functions for fake data and stats