added const for time remaining