What happens when EndTime is nil? If the program "crashes" without logging the EndTime, what could happen is that Endtime is not logged. Could we set a default value to "EndTime" in the beginning so it can have some value? 
What happens when EndTime is nil?
If the program "crashes" without logging the EndTime, what could happen is that Endtime is not logged.
Could we set a default value to "EndTime" in the beginning so it can have some value?