better lattice-almost done