herd model added