Added statistics feature