Changes to statistics module