Added ability to shift timeperiod by delta