added statistics
added statistics
corrected statistic analysis