wrestling with query