query input ready