Use TimeSpan instead of int for representing durations of time