This seems to work.