added Lattice analysis