statistics controller working