lattice is now a module