added: ending time and duration of completed tasks