      */
     @discardableResult
     public func withTransition(_ transition: UIModalTransitionStyle) -> Self {
-        modalTransitionStyle = transition
+        self.modalTransitionStyle = transition
         return self
     }
 

                           presentation: UIModalPresentationStyle,
                           transition: UIModalTransitionStyle) -> UIViewController {
        // apple styles to self, then to navigation controller
        withPresentation(presentation).withTransition(transition)
        return withNavigationStyle(navigation).withPresentation(presentation).withTransition(transition)
    }
}


            return self

        case .withNavigation:
            return self.withNavigation()
        }
    }

