added stats functionality
before class thurs