adding lattice