Added some comments for a range query