Setting currentperiod to 2d