replaced with lattice