updated LM inspired