add quey_k and query_l