before adding a custom class viewcontroller