generated the LM