An enhanced agent based model of the immune system response