modified lagging functions and added infection pressure example