Time variable name change and function call.

Made variable name easier to understand an added function call. (Also
I'm still trying to get familiar with GitHub)