                     stackedViews[index].addCustomConstraints(inView: self, toViews: [nLastView, self, self], selfAttributes: [NSLayoutAttribute.Left] + vAttributes[index], otherViewAttributes: [NSLayoutAttribute.Right] + vAttributes[index], relations: [NSLayoutRelation.Equal] + vRelations[index], padding: [gapPadding] + vPadding[index])
                     
                 } else {
-                    stackedViews[index].addCustomConstraints(inView: self, toViews: leftLayoutGuide == nil ? nil : [leftLayoutGuide!, self, self], selfAttributes: [NSLayoutAttribute.Left] + vAttributes[index], otherViewAttributes: (leftLayoutGuide == nil ?  [NSLayoutAttribute.Left] : [NSLayoutAttribute.Right]) + vAttributes[index], relations: [NSLayoutRelation.Equal] + vRelations[index], padding: [leftPadding] + vPadding[index])
+                    stackedViews[index].addCustomConstraints(inView: self, selfAttributes: [NSLayoutAttribute.Left] + vAttributes[index], otherViewAttributes:  [NSLayoutAttribute.Left], relations: [NSLayoutRelation.Equal] + vRelations[index], padding: [leftPadding] + vPadding[index])
                 }
                 lastView = stackedViews[index]
             }

			self.addSubview(view)
		}
	}
	
	public func stackViews(
		stackedViews: [UIView],
        topLayoutGuide: UILayoutSupport? = nil,
		horizontalAttributes: [[NSLayoutAttribute]]? = nil,

    
    public func stackHorizontallViews(
        stackedViews: [UIView],
        verticalAttributes: [[NSLayoutAttribute]]? = nil,
        verticalRelations: [[NSLayoutRelation]]? = nil,
        verticalPaddings: [[CGFloat]]? = nil,
