statistic controller working