changed return of extract line method