todo for days logic