add some comments on query