added line numbers and pathogen support