capture 'Line' earlier for better results