add max matches