changed query to infinite querying

press "Exit " to leave query system