     tagArray.last.addTarget(self, action:"tagTextChanged:", forControlEvents: UIControlEvents.EditingChanged)
 
     NSLog("nextpos = 1:%@ 2:%@ 3:%@ 4:%@", self.frame.width, nextPos+tagArray.last.frame.width, nextPos, tagArray.last.frame.width)
-    if nextPos+tagArray.last.frame.width >= actualWidth {
-      self.tagTooWide(tagArray.last)
-    }
+    checkTagSize(tagArray.last)
     self.addSubview(tagArray.last)
     
     if becomeFirstResponder {

    self.slideTags(typingTag!)
  }

  func checkTagSize(currentTag:TagInput) {
    let tagIndex = find(tagArray, currentTag)
    let tagFrame = currentTag.frame

  
  func tagTooWide(lastObj:TagInput) {
    let lastHeight : CGFloat = lastObj.frame.size.height
    let lastWidth : CGFloat = lastObj.frame.size.width
    let lastY : CGFloat = lastObj.frame.origin.y
    let nextPos : CGFloat = lastHeight+lastY+4.0
    
