basic edits to lmm.java