introduce line numbers. closes #1