attempt to qualify the query.  todo for dan to work it out