TODO: change immunities_list, agent to non pointer type of host struct