Surprising mechanism of an enzyme in a membrane