as query input