if matches is None, we cannot append to it