Line number is index plus one.