Some parts are slightly puzzling, but it seems to work and it didn't seem economical to put more effort into it.