#33 use max length to match