See http://ambur.net/oz.pdf