Added ability to change simple pin length