added lattice graph system