Advancing with query api.