added line tracking