renamed variable clock.Time to clock.Work