     private var imageView: UIImageView!
 
 //MARK: Layout variables
-    private let vHeight:CGFloat = 68.0
-    private let shadowMargin:CGFloat = 4.0
+    private let vHeight = CGFloat(68.0)
+    private let shadowMargin = CGFloat(4.0)
     private var xPadding: CGFloat!
-    private let topCarrierMargin:CGFloat = UIDevice()
-                .type == DGDeviceModel.iPhoneX ? 40 : 20
-    private lazy var bottomCarrierMargin: CGFloat = UIDevice()
-                     .type == DGDeviceModel.iPhoneX ? screenHeight - 40 : screenHeight
-    
+    private let topCarrierMargin = CGFloat(UIDevice().type == DGDeviceModel.iPhoneX ? 40 : 20)
+  
 //MARK: Color variables
     private var textColor = UIColor.darkText {
         didSet {

        let frame: CGRect
        let width = fullWidth ? screenWidth : (screenWidth - 40.0)
        xPadding = fullWidth ? 0.0 : 20.0
      
        switch side {
        case .topLeft:

    
    
    private func addShadow() {
        layer.cornerRadius    = cornerRadius
        layer.shadowColor     = UIColor.black.cgColor
        layer.shadowOffset    = CGSize.zero
        layer.shadowRadius    = 5.0
        layer.shadowOpacity   = 0.5
        super.backgroundColor = UIColor.clear
    }
    
