passing lines back and forth