Added statistic writer