In-class example code for Line1