query is a demand for information key is a supply for information but how are they actually matched?