adding lattice storage