adding LengthError