Researchers have set up a novel lab-on-a-chip with accompanying automatic analysis software. This integrated setup can be used to study gene regulation in single bacterial cells in response to dynamically controlled environmental changes.