now `min_length` is configurable