add input query vary the query size