         
         var contentView: UIView! {
             didSet {
-                contentView.layer.cornerRadius = 5
-                contentView.clipsToBounds = true
-                contentView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
-                self.addSubview(contentView)
+                self.contentView.layer.cornerRadius = 5
+                self.contentView.clipsToBounds = true
+                self.contentView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
+                self.addSubview(self.contentView)
             }
         }
         
         let arrowWidth: CGFloat = 20
         let arrowHeight: CGFloat = 10
         var arrowColor = UIColor.white
+        var arrowOffset = CGPoint.zero
+        
         fileprivate let arrowImageView: UIImageView = UIImageView()
         
         public init(arrowColor: UIColor) {

    override open func viewDidLoad() {
        super.viewDidLoad()
        
        self.popoverView = DKPopoverView(arrowColor: self.arrowColor)
        self.view.addSubview(self.popoverView)
    }

            
            let arrowPath = CGMutablePath()
            
            arrowPath.move(to: CGPoint(x: self.arrowWidth / 2, y: 0))
            arrowPath.addLine(to: CGPoint(x: self.arrowWidth, y: self.arrowHeight))
            arrowPath.addLine(to: CGPoint(x: 0, y: self.arrowHeight))
            arrowPath.closeSubpath()
            
            context?.addPath(arrowPath)
