adding timeperiod