adding the timeperiod methods