Catching the correct line