Glands were randomly assigned to controls or treatment with ITS , and mammary secretion samples were taken from all glands prior to treatment , and on two occasions 0-4 and 3-6 days post-calving to determine the incidence of new IMI and the prevalence of IMI immediately post-calving .