additions to lm tutorial, including continuous interactions