implemented CheckLineScope