Scientists have succeeded in incorporating a light-controlled switch into a molecule used by bacteria for quorum sensing — a process by which bacteria communicate and subsequently control different cellular processes. With the molecule described, it is possible to either inhibit or stimulate communication, making it a useful tool for research into bacterial communication and its influence on different genetic pathways.