added statistic and save methods