Replaced calculation server logic for remaining time.