Time offset calculations look good. Time to implement shifting