first draft with line numbers
messed up line number branch, manual change back