Engineering the internal cavity of neuroglobin demonstrates the role of the haem-sliding mechanism.