view controller working