added additional max length validations