finished the time part