Lattice added...not sure if it works