add line fitting