Added stats calculator