added dead pup correction factor code