stubbing impl, thinking of query api