added timeperiod command