put instantiating dayStats in its own method. Got rid of TODO markers