switching to pathogen infect