Lattice queries added