lm boilerplate