a couple of queries