allow the first query to be binary