             self.stateMachine.set(state: .adsPlaying)
             let event = event.ad != nil ? AdEvent.AdStarted(adInfo: PKAdInfo(ad: event.ad)) : AdEvent.AdStarted()
             self.notify(event: event)
-            self.showLoadingView(false, alpha: 0)
         case .ALL_ADS_COMPLETED:
             // detaching the delegate and destroying the adsManager. 
             // means all ads have been played so we can destroy the adsManager.

    /************************************************************/
    
    public func adsManagerAdDidStartBuffering(_ adsManager: IMAAdsManager!) {
        self.showLoadingView(true, alpha: 0.1)
        self.notify(event: AdEvent.AdStartedBuffering())
    }
    
    public func adsManagerAdPlaybackReady(_ adsManager: IMAAdsManager!) {
        self.showLoadingView(false, alpha: 0)
        self.notify(event: AdEvent.AdPlaybackReady())
    }
    

    
    public func adsManagerDidRequestContentResume(_ adsManager: IMAAdsManager!) {
        self.stateMachine.set(state: .contentPlaying)
        self.notify(event: AdEvent.AdDidRequestContentResume())
    }
    
