variable pin length (but defaults to 4)