within-host disease transmission function implemented, state time part need further implementation