implemented more todo code and time left algorhytm'