Added totalUnderTime and totalIdleTime and associated methods