Researchers have now discovered that Escherichia coli bacteria harness a sophisticated chemosensory and signal transduction machinery that allows them to accurately control motor rotation, thereby adjusting their swimming velocity in response to changing environments. The research may foster the development of novel strategies to fight persistent infections.