using viewcontroller