attempting to use LineReciever (see page 20 from book)