Can pass in view instead of viewcontroller