Re-added timing offset calculations.