added some statistic output