Connecting query inputs...