work on stats module