add some more functions to query
enhance readme