separate out query endpoint