Appears to work

Needs to be tested.