Using type instead of controllerrecognizer