changed pathogen.pp to defined type