first version of stats queue