         case dark
     }
     
-    public convenience init(next : TtroDigitEntry?, previous : TtroDigitEntry?, defaultChar : String = "_", mode : Mode = .light){
+    public var plainText : String? = ""
+    public var shouldHideText = false
+    
+    public convenience init(next : TtroDigitEntry?, previous : TtroDigitEntry?, defaultChar : String = "_", mode : Mode = .light, shouldHideText : Bool = false){
         self.init(frame : CGRect.zero)
         self.nextTextField = next
         self.previousTextField = previous

        font = UIFont.TtroFonts.regular(size: 20).font
        text = defaultChar
        self.defaultChar = defaultChar
    }
    
    public override init(frame: CGRect) {

    }
    
    public func textFieldDidEndEditing(_ textField: UITextField) {
        if (shouldHideText && text != defaultChar){
            plainText = textField.text
            let charArray: Array<Character> = Array(repeating: "●", count: numOfDigits)
            text = String(charArray)
        }
         pinDelegate.textFieldDidEndEditing?(textField)
    }
    
