added stats module for testing