This line can become an individual private function with a meaningful name as it's the actual action performed when one time is reached. Same comment for line 93.