changed to elapsed timer for logging