refactored query api