naive matching