stats now implemented may need tweaks after som tests close #2