Don't you want to you normalizeDuration here?