controller working