master controller working