Study differentiating function of two immune cells could improve vaccine design