add function detected line