between-host transimission function implemented