more statistics

todo: refactorization