got one of the queries to work