can view stats, needs major refactoring