add query() section to readme