implemented time statistic