refactors to animate stats module