following advice to change the infect call