changes in line detection