Refactored statsView