first draft of the stats scheduler