changed handles to lines