integrate query menu