Added Statistic Code