A C. elegans Hox gene switches on, off, on and off again to regulate proliferation, differentiation and morphogenesis.