data capture code added in epidemic