qry type in two places