lattice class added