Scientists investigating the fundamental question in biology as to why individuals have evolved to cooperate rather than simply exploiting the contributions of their rivals, have found that microbes vary their contribution to maximize the return of investment.