Updated LMEngine