add line detection message