added timeperiod to logs